翻訳と辞書 |
State machine (LabVIEW programming) : ウィキペディア英語版 | State machine (LabVIEW programming)
A state machine is a type of programming technique that is used in a majority of different programming languages. The state machine is especially important and flexible tool that is used in LabVIEW programming because the coding is very easy to maintain, document and reuse. 〔Bitter, Rick. ''LabVIEW Advanced Programming Techniques.''Boca Raton: CRC Press LLC, 2001 http://www.physics.utah.edu/~jui/3620/supp/LV_Adv_Prog/2049ch03.pdf〕 == Introduction to state machines ==
State machines revolve around 3 concepts: the state, the event, and the action. The state is the position or status that the program is at when it is working through the problem. For example a state could be waiting for the user to do something, or running a calculation. States work to help break up the big picture and help to make everything run smoother. Developing these wisely will help to make the state machine run more efficiently. Events are occurrences that have specific meaning to the program itself. The example that we will be building is a soda machine that dispenses soda after the user has inserted the correct amount of money. An event for this program could be the money being inserted, or the person hitting the start button. The action is how the program will react to the particular event that has occurred. 〔 Bitter, Rick〕
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「State machine (LabVIEW programming)」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|